<div class="introd_top introd_top_bg2">
    <div class="intopimg"><img src="<?php if(!empty($oUser['bgimg'])) echo _get_image_url($oUser['bgimg']);?>" /></div>
    <div class="bottom_back"></div>
    <div class="intcon">
        <div class="fl col_sub">
            <div class="cs_avatar"><img src="<?=_get_userlogo_url($oUser['userlogo']);?>"/></div>
            <div class="icon_head_portrait"><img src="<?php echo _get_cfg_path('images')?><?php if (!empty($oCert) && $oCert['status']==1) echo "icon_v";else echo "icon_v_no"?>.png"></div>
            <!-- <div class="cs_popul"><strong><?=empty($oUser['visitnum'])?0:$oUser['visitnum'];?></strong>人气</div> -->
        </div>
        <div class="fl info_wrap">
        	<div class="clearfix name_info_titile">
        		<div class="namebox fl">
            		<div class="fl nick_name_personal"><?=$oUser['nickname']?></div>
            		<div class="fl sex_personal"><?php if($oUser['sex']):?><img src="<?php echo _get_cfg_path('images')?><?php echo $oUser['sex']==1?'male':'female';?>.png"><?php endif;?></div>
            		<div class="fl position_personal"><img src="<?php echo _get_cfg_path('images')?>position.png"></div>
            		<div class="fl sex_personal"><?=$oUser['city']?></div>
            	</div>
            	
                <!-- <div class="namebox fl"><span><?=$oUser['nickname']?><?php if($oUser['company']):?>-<?=$oUser['company']?><?php endif?></span></div>
                <?php if(!empty($oUser['qq'])):?>
                <div class="contact fl"><a href="##"><i class="qq"></i>联系我</a></div>
                <?php endif?>
                <?php if(!empty($oCert['status']) && ($oCert['status'] == 1)):?>
                <div class="tips piccon fl"><?php //if($oUser['userlevel']):?><a href="##" rel="魔步网签约经纪公司" class="preview"></a><?php //endif?></div>
                <?php endif?> -->
                
                <!-- 
                <?php
                if(!empty($oCert)): 
                	if($oUser['usertype'] == 1):
                ?>
            	<div class="tips piccon fl"><a href="javascript:" rel="模特" class="preview tips_a1"></a></div>
            	<?php elseif($oUser['usertype'] == 2):?>
            	<div class="tips piccon fl"><a href="javascript:" rel="魔步网签约经纪公司" class="preview tips_a2"></a></div>
                <?php elseif($oUser['usertype'] == 3):?>
                <div class="tips piccon fl"><a href="javascript:" rel="企业" class="preview tips_a3"></a></div>
                <?php endif?>
                <?php endif?> -->
            </div>
            <div class="user_role">
            	<?=$userRole?>
            </div>
            <div class="namebox function_icon" style="margin-top:0;">
            	<?php if ($oUser["userid"] != $this->loginID):?>
            	<div class="contact attention fl">
                    <?php if($oUser['concernstatus'] > 0):?>
                        <a href="javascript:void(0);" class="atte_cur">
                        	已关注
                        </a>
                    <?php else:?>
                        <a href="javascript:void(0);" class="atte_cur XT-fans">
                        	+关注
                        </a>
                    <?php endif?>
                </div>
                <?php endif;?>
                <?php if(!empty($oUser['qq']) && $oUser["userid"] != $this->loginID):?>
	                <!-- QQ联系我 -->
	            	<div class="contact fl">
	            		<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<?=$oUser['qq']?>&site=qq&menu=yes">联系<?php if($oUser['sex']) echo $oUser['sex']==1?'他':'她';else echo 'ta';?></a>
	            	</div>
            	<?php endif;?>
            	<!-- 菜单功能按钮（后期开放）
            	<div class="fl select_fun_icon">
            		<a href="javascript:void(0);"><img src="<?php echo _get_cfg_path('images')?>select_fun.png"/></a>
            	</div> -->
            </div>
            
            <!-- <div class="namebox">
            	<p> &nbsp;&nbsp; <?=$oUser['city']?> &nbsp;&nbsp;</p>
            </div> -->
        </div>
        <div class="fr model_related_info">
        	<ul class="cs_number clearfix">
                <li><strong><?=empty($oUser['concernnum'])?0:$oUser['concernnum'];?></strong><span>关注</span></li>
                <li><strong><?=empty($oUser['fansnum'])?0:$oUser['fansnum'];?></strong> <span>粉丝</span></li>
                <!-- <li><strong><?=empty($oUser['be_ordernum'])?0:$oUser['be_ordernum'];?></strong> <span>拍片次数</span></li> -->
            </ul>
        </div>
    </div>
</div>

<div class="introd_title" id="introd_title">
    <ul class="clearfix">
        <li<?php if( strpos(strtolower(uri_string()),'i/index')>-1 && strpos(strtolower(uri_string()),'i/index/activity')<=-1 ) echo ' class="iton"';?>><a href="/i/index/<?=$oUser['id']?>">简介</a></li>
        <li<?php if( strpos(strtolower(uri_string()),'i/index/activity')>-1 ) echo ' class="iton"';?>><a href="/i/index/activity/<?=$oUser['id']?>">通告（<?=empty($oUser['activity_num'])?0:$oUser['activity_num'];?>）</a></li>
        <li<?php if( strpos(strtolower(uri_string()),'i/comment')>-1 ) echo ' class="iton"';?>><a href="/i/comment/<?=$oUser['id']?>">评价（<?=empty($oUser['be_commentnum'])?0:$oUser['be_commentnum'];?>） </a></li>
    </ul>
</div> 
<input type="hidden" name="mid" id="mid" value="<?=_get_key_val( $oUser['id'] )?>">